package ke07.pm.reihe6;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class HundredItemBagTest {
	MyHundredItemBag bag;

	@Before
	public void setUp() throws Exception {

		bag = new MyHundredItemBag();

	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testSize() {
		assertEquals(0, bag.size());
		bag.add(123);
		assertEquals(1, bag.size());
	}

	@Test
	public void testAdd() {
		assertTrue(bag.add("dude"));
	}

	@Test
	public void testRemove() {
		bag.add(1);
		assertTrue(bag.remove(1));
	}

	@Test
	public void testCount() {
		fail("Not yet implemented");
	}

	@Test
	public void testContains() {
		fail("Not yet implemented");
	}

	@Test
	public void testToArray() {
		fail("Not yet implemented");
	}

}
